/*********************************
  串口设置对话框
  ********************************/
#ifndef SETTINGSDIALOG_H
#define SETTINGSDIALOG_H

#include <QDialog>
#include "ui_settingsdialog.h"
struct PortSettings;
class settingsDialog : public QDialog, public Ui::settingsDialog
{
    Q_OBJECT

public:
    explicit settingsDialog(QWidget *parent = 0);
    ~settingsDialog();
private:
    PortSettings  *dialogMyPortSettings;
signals:
    void signalPortSettings(const PortSettings&);
    void signalMyComName(const QString&);

private slots:
    void on_setDefaultBtn_clicked();
    void on_applyBtn_clicked();
    void on_okBtn_clicked();
};

#endif // SETTINGSDIALOG_H
